package com.elric.mall.mapper;

import com.elric.mall.model.ZgSProvinces;
import com.elric.mall.model.ZgSProvincesExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgSProvincesMapper {
    long countByExample(ZgSProvincesExample example);

    int deleteByExample(ZgSProvincesExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgSProvinces record);

    int insertSelective(ZgSProvinces record);

    List<ZgSProvinces> selectByExample(ZgSProvincesExample example);

    ZgSProvinces selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgSProvinces record, @Param("example") ZgSProvincesExample example);

    int updateByExample(@Param("record") ZgSProvinces record, @Param("example") ZgSProvincesExample example);

    int updateByPrimaryKeySelective(ZgSProvinces record);

    int updateByPrimaryKey(ZgSProvinces record);
}